package com.abu.crms.fallback;

import com.abu.common.Resp;
import com.abu.crms.client.ClassesClient;
import org.springframework.stereotype.Component;

@Component
public class ClassesFallback implements ClassesClient {
    @Override
    public Resp queryClassNameByClassId(Long classId) {
        return Resp.error().msg("服务暂时不可用，请稍后");
    }
}
